package com.qf.mapper;

import com.qf.entity.Doctor;
import com.qf.entity.YuYue;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DoctorMapper {

    Doctor login(Doctor doctor);

    Doctor findByIdCard(Integer idCard);

    Doctor showInfoByIdCard(Integer idCard);

    Integer changeInfoByIdCard(Doctor doctor);

    List<YuYue> findById(Integer id);
    /**
     * 修改预约状态
     * @param num
     */
    void updateByNum(String num);
}
